import service from "@/utils/request"

import LoginWork from "@/utils/LoginWork"

// 主表查询
export const MainTableDate = (parms:any) => {
    return service.post<any,any>(`/cut/process/change/list`,parms)
}

// 工艺变更查询
export const processQeury = (parms:any) => {
    return service.post<any,any>(`/cut/process/change/part/list`,parms)
}

// 订单变更查询
export const OrderChangeCnquiry = (parms:any) => {
    return service.post<any,any>(`/cut/process/change/qty/list`,parms)
}

// 指令变更查询
export const lotNoQuery = (parms:any) => {
    return service.post<any,any>(`/cut/process/change/lotNoList`,parms)
}

// 查找同配色指令
export const FindTheMatchingColorInstruction = (parms:any) => {
    return LoginWork.post<any,any>(`/cut/process/change/find`,parms)
}

// 查找同配色指令
export const FindTheMatching = (parms:any) => {
    return LoginWork.post<any,any>(`/cut/process/change/analysis`,parms)
}

// 变更资料处理
export const ChangeData = (override:boolean,parms:any) => {
    return LoginWork.post<any,any>(`/cut/process/change/deal?override=${override}`,parms)
}